package com.zycfc.zsf.boot.core.web.data;

import java.io.*;
import io.swagger.annotations.*;

@ApiModel(value = "AppConfigVo", description = "AppConfig实体")
public class AppConfigVo implements Serializable {
    private static final long serialVersionUID = -1640341561191899727L;
    @ApiModelProperty("机构编号")
    private String cooprOrgNo;
    @ApiModelProperty("产品编号")
    private String loanTyp;
    @ApiModelProperty("项目协议编号")
    private String cooprContNo;
    
    public AppConfigVo() {
    }
    
    public AppConfigVo(final String cooprOrgNo, final String loanTyp, final String cooprContNo) {
        this.cooprOrgNo = cooprOrgNo;
        this.loanTyp = loanTyp;
        this.cooprContNo = cooprContNo;
    }
    
    public String getCooprOrgNo() {
        return this.cooprOrgNo;
    }
    
    public String getLoanTyp() {
        return this.loanTyp;
    }
    
    public String getCooprContNo() {
        return this.cooprContNo;
    }
    
    public void setCooprOrgNo(final String cooprOrgNo) {
        this.cooprOrgNo = cooprOrgNo;
    }
    
    public void setLoanTyp(final String loanTyp) {
        this.loanTyp = loanTyp;
    }
    
    public void setCooprContNo(final String cooprContNo) {
        this.cooprContNo = cooprContNo;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AppConfigVo)) {
            return false;
        }
        final AppConfigVo other = (AppConfigVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$cooprOrgNo = this.getCooprOrgNo();
        final Object other$cooprOrgNo = other.getCooprOrgNo();
        Label_0065: {
            if (this$cooprOrgNo == null) {
                if (other$cooprOrgNo == null) {
                    break Label_0065;
                }
            }
            else if (this$cooprOrgNo.equals(other$cooprOrgNo)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$loanTyp = this.getLoanTyp();
        final Object other$loanTyp = other.getLoanTyp();
        Label_0102: {
            if (this$loanTyp == null) {
                if (other$loanTyp == null) {
                    break Label_0102;
                }
            }
            else if (this$loanTyp.equals(other$loanTyp)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$cooprContNo = this.getCooprContNo();
        final Object other$cooprContNo = other.getCooprContNo();
        if (this$cooprContNo == null) {
            if (other$cooprContNo == null) {
                return true;
            }
        }
        else if (this$cooprContNo.equals(other$cooprContNo)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof AppConfigVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $cooprOrgNo = this.getCooprOrgNo();
        result = result * 59 + (($cooprOrgNo == null) ? 43 : $cooprOrgNo.hashCode());
        final Object $loanTyp = this.getLoanTyp();
        result = result * 59 + (($loanTyp == null) ? 43 : $loanTyp.hashCode());
        final Object $cooprContNo = this.getCooprContNo();
        result = result * 59 + (($cooprContNo == null) ? 43 : $cooprContNo.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "AppConfigVo(cooprOrgNo=" + this.getCooprOrgNo() + ", loanTyp=" + this.getLoanTyp() + ", cooprContNo=" + this.getCooprContNo() + ")";
    }
}
